package com.stack.auto_parts.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.Locale;

/**
 * @Title: User
 * @Author WUYU_MIN
 * @Package com.stack.auto_parts.entity
 * @Date 2024/7/8 14:18
 * @description: user类
 */





@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @TableId(type = IdType.AUTO)
    private long id;
    private String uuid;
    private String userName;
    private String phone;
    private String email;
    private String password;
    private String role;
    private String image;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime ;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime ;


}

